<?php
function theme_setup() {
    register_nav_menu('Navigation', __('Navigation'));
}

add_action( 'init', 'theme_setup' );

if ( !is_nav_menu('Navigation') ) {
    $menu_id = wp_create_nav_menu('Navigation');
    wp_update_nav_menu_item($menu_id, 1);
}

if ( function_exists('register_sidebar') ){
    register_sidebar();
}
?>
